<?php
function include_dir($directory) {
  foreach(scandir("$directory/") as $file) {
    if(!strpos($file,".") == 0 && !is_dir($file)) {
      include "$directory/$file";
    }
  }
}
?>